[INFO] fetching crate tg-rcore-tutorial-ch3-yks23-t2l10 0.4.8-preview.2...
[INFO] fixing tg-rcore-tutorial-ch3-yks23-t2l10-0.4.8-preview.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate tg-rcore-tutorial-ch3-yks23-t2l10 0.4.8-preview.2 into /workspace/builds/worker-2-tc1/source
[INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate tg-rcore-tutorial-ch3-yks23-t2l10 0.4.8-preview.2
[INFO] finished tweaking crates.io crate tg-rcore-tutorial-ch3-yks23-t2l10 0.4.8-preview.2
[INFO] tweaked toml for crates.io crate tg-rcore-tutorial-ch3-yks23-t2l10 0.4.8-preview.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tg-rcore-tutorial-ch3-yks23-t2l10 0.4.8-preview.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tg-rcore-tutorial-ch3-yks23-t2l10 0.4.8-preview.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded numeric-enum-macro v0.2.0
[INFO] [stderr]   Downloaded tg-rcore-tutorial-linker v0.4.8
[INFO] [stderr]   Downloaded tg-rcore-tutorial-signal-defs v0.4.8
[INFO] [stderr]   Downloaded tg-rcore-tutorial-syscall v0.4.8
[INFO] [stderr]   Downloaded tg-rcore-tutorial-sbi v0.4.9
[INFO] [stderr]   Downloaded tg-rcore-tutorial-kernel-context v0.4.8
[INFO] [stderr]   Downloaded tg-rcore-tutorial-console v0.4.8
[INFO] [stderr]   Downloaded riscv v0.10.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011
[INFO] running `Command { std: "docker" "start" "24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling hashbrown v0.17.0
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling riscv v0.10.1
[INFO] [stderr]    Compiling tg-rcore-tutorial-syscall v0.4.8
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking nb v1.1.0
[INFO] [stderr]    Compiling tg-rcore-tutorial-linker v0.4.8
[INFO] [stderr]     Checking nb v0.1.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking numeric-enum-macro v0.2.0
[INFO] [stderr]     Checking tg-rcore-tutorial-signal-defs v0.4.8
[INFO] [stderr]     Checking embedded-hal v0.2.7
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking tg-rcore-tutorial-console v0.4.8
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]     Checking tg-rcore-tutorial-sbi v0.4.9
[INFO] [stderr]     Checking tg-rcore-tutorial-kernel-context v0.4.8
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tg-rcore-tutorial-ch3-yks23-t2l10 v0.4.8-preview.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `CONSOLE_LOCK` in this scope
[INFO] [stdout]    --> src/main.rs:136:11
[INFO] [stdout]     |
[INFO] [stdout] 136 |     while CONSOLE_LOCK
[INFO] [stdout]     |           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:71:8
[INFO] [stdout]     |
[INFO] [stdout]  70 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  71 | static CONSOLE_LOCK: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:137:40
[INFO] [stdout]     |
[INFO] [stdout] 137 |         .compare_exchange(false, true, Ordering::Acquire, Ordering::Relaxed)
[INFO] [stdout]     |                                        ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:49:51
[INFO] [stdout]     |
[INFO] [stdout]  48 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  49 | use core::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:137:59
[INFO] [stdout]     |
[INFO] [stdout] 137 |         .compare_exchange(false, true, Ordering::Acquire, Ordering::Relaxed)
[INFO] [stdout]     |                                                           ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:49:51
[INFO] [stdout]     |
[INFO] [stdout]  48 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  49 | use core::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONSOLE_LOCK` in this scope
[INFO] [stdout]    --> src/main.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 143 |     CONSOLE_LOCK.store(false, Ordering::Release);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:71:8
[INFO] [stdout]     |
[INFO] [stdout]  70 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  71 | static CONSOLE_LOCK: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:143:31
[INFO] [stdout]     |
[INFO] [stdout] 143 |     CONSOLE_LOCK.store(false, Ordering::Release);
[INFO] [stdout]     |                               ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:49:51
[INFO] [stdout]     |
[INFO] [stdout]  48 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  49 | use core::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Console` and `SyscallContext`
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use impls::{Console, SyscallContext};
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `riscv::register::*`
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use riscv::register::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tg_console::log`
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | use tg_console::log;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONSOLE_LOCK` in this scope
[INFO] [stdout]    --> src/main.rs:136:11
[INFO] [stdout]     |
[INFO] [stdout] 136 |     while CONSOLE_LOCK
[INFO] [stdout]     |           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:71:8
[INFO] [stdout]     |
[INFO] [stdout]  70 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  71 | static CONSOLE_LOCK: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:137:40
[INFO] [stdout]     |
[INFO] [stdout] 137 |         .compare_exchange(false, true, Ordering::Acquire, Ordering::Relaxed)
[INFO] [stdout]     |                                        ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:49:51
[INFO] [stdout]     |
[INFO] [stdout]  48 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  49 | use core::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:137:59
[INFO] [stdout]     |
[INFO] [stdout] 137 |         .compare_exchange(false, true, Ordering::Acquire, Ordering::Relaxed)
[INFO] [stdout]     |                                                           ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:49:51
[INFO] [stdout]     |
[INFO] [stdout]  48 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  49 | use core::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CONSOLE_LOCK` in this scope
[INFO] [stdout]    --> src/main.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 143 |     CONSOLE_LOCK.store(false, Ordering::Release);
[INFO] [stdout]     |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:71:8
[INFO] [stdout]     |
[INFO] [stdout]  70 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  71 | static CONSOLE_LOCK: AtomicBool = AtomicBool::new(false);
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Ordering` in this scope
[INFO] [stdout]    --> src/main.rs:143:31
[INFO] [stdout]     |
[INFO] [stdout] 143 |     CONSOLE_LOCK.store(false, Ordering::Release);
[INFO] [stdout]     |                               ^^^^^^^^ use of undeclared type `Ordering`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/main.rs:49:51
[INFO] [stdout]     |
[INFO] [stdout]  48 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]     |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout]  49 | use core::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
[INFO] [stdout]     |                                                   ^^^^^^^^
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::cmp::Ordering;
[INFO] [stdout]     |
[INFO] [stdout]  37 + use core::sync::atomic::Ordering;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Console` and `SyscallContext`
[INFO] [stdout]   --> src/main.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use impls::{Console, SyscallContext};
[INFO] [stdout]    |             ^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `riscv::register::*`
[INFO] [stdout]   --> src/main.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use riscv::register::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tg_console::log`
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | use tg_console::log;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]    --> src/main.rs:422:1
[INFO] [stdout]     |
[INFO] [stdout] 422 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout] 423 | |     println!("{info}");
[INFO] [stdout] 424 | |     tg_sbi::shutdown(true)
[INFO] [stdout] 425 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]     = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/622891a4e29178280638a6b63a8908bde2c0c854/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout]     = note: second definition in the local crate (`tg_rcore_tutorial_ch3_yks23_t2l10`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0152, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tg-rcore-tutorial-ch3-yks23-t2l10` (bin "tg-rcore-tutorial-ch3-yks23-t2l10" test) due to 6 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tg-rcore-tutorial-ch3-yks23-t2l10` (bin "tg-rcore-tutorial-ch3-yks23-t2l10") due to 5 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011", kill_on_drop: false }`
[INFO] [stdout] 24d205f68f989719e15b74d33bb525a10922b6e630f82ef8520afc011cd2f011
